<?php
 Session_Start () ;
 $_SESSION ["repertoire_config"] = "../../include" ; 
 Include ("../../include/garennes.cfg") ;
 Include ("../../include/init.php") ;
 Include ("../include/config.inc") ;
 verif_droits ($droit_courant, $_SESSION ["code"]) ;
 
 $resultats = SQL_commande ("SELECT * FROM menus WHERE numero='".$droit_courant."' AND ordre='0'", $id_sql) ;
 $l = SQL_tableau_associatif ($resultats, "") ; 
 
 Echo "<HTML><HEAD>" ;
 entete_html ("Garennes", "", 1) ;
 Echo styles ("none", "none", "none", $l ["lien"], "none") ;
 Echo "<SCRIPT> function valide() { document.formulaire.chemin.value=document.formulaire.nom_1.value } </SCRIPT>" ;
 Echo "</HEAD>" ;
 
 Echo "<BODY BACKGROUND=\"../images/fond.png\" TEXT=\"#000000\" onContextMenu=\"return false\">" ;
 Echo "<CENTER><FONT COLOR=\"#0000FF\">Mise&nbsp;&agrave;&nbsp;jour&nbsp;d'&eacute;l&egrave;ves&nbsp;provenant&nbsp;de&nbsp;GEP&nbsp;(2/3)</FONT></CENTER><BR>" ;
 Echo "<FORM ACTION=\"./maj_eleves_3.php\" METHOD=\"POST\" NAME=\"forme\" onSubmit=\"javascript:valide()\" ENCTYPE=\"multipart/form-data\">" ;
 Echo "<TABLE BORDER=\"1\" BGCOLOR=\"".$l ["couleur_fond"]."\" CELLPADDING=\"0\" CELLSPACING=\"0\" ALIGN=\"CENTER\" STYLE=\"border:1px solid #000000;border-collapse:collapse\">" ;
 Echo "<TR><TD ALIGN=\"CENTER\" BGCOLOR=\"".$l ["lien"]."\">&nbsp;Indiquez&nbsp;o&ugrave;&nbsp;se&nbsp;trouve&nbsp;chacun&nbsp;des&nbsp;fichiers&nbsp;suivants&nbsp;:&nbsp;</TD></TR>" ;
 Echo "<TR><TD><TABLE BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\" WIDTH=\"100%\" STYLE=\"border-collapse:collapse\">" ;
 For ($i = 1 ; $i <= $maj_gep [0] ; $i++)
  {
   If ($maj_gep [$i])
    {
     Echo "<TR><TD COLPSAN=\"2\">&nbsp;</TD></TR>" ;
     Echo "<TR>" ;
     Echo "<TD ALIGN=\"RIGHT\">&nbsp;<B>".$maj_gep [$i]."</B>&nbsp;:&nbsp;</TD>" ;
     Echo "<TD><INPUT TYPE=\"FILE\" NAME=\"nom_".$i."\" SIZE=\"50\">&nbsp;</TD>" ;
     Echo "</TR>" ;
    }
  }
 Echo "<TR><TD COLPSAN=\"2\">&nbsp;</TD></TR>" ;
 Echo "</TABLE>" ;
 Echo "</TD></TR></TABLE>" ;
 Echo "<CENTER>&nbsp;<INPUT TYPE=\"SUBMIT\" NAME=\"submit\" VALUE=\" Mettre &agrave; jour \"></CENTER><BR>" ;
 Echo "<INPUT TYPE=\"HIDDEN\" NAME=\"chemin\" VALUE=\"\">" ;
 Echo "<INPUT TYPE=\"HIDDEN\" NAME=\"etape\" VALUE=\"3\">" ;
 Echo "</FORM>" ;
 Echo "</BODY></HTML>" ;
?>